package day11;

import java.util.Arrays;

/**
 * @author oldliu
 * @since 1.0
 */
public class ClasTest {
    public static void main(String[] args) {
        //称为强制添加的类的蓝图。。。
        Kezhouqiujian k=new Kezhouqiujian();
        Class<? extends Kezhouqiujian> c0 = k.getClass();
        Class<Kezhouqiujian> c = Kezhouqiujian.class;
        System.out.println(c0==c);
        Class c2=String.class;
        //基本类型都有
        Class c3=int.class;
        System.out.println("c2:STring");
        System.out.println("全名:"+c2.getName());
        System.out.println("父类:"+c2.getSuperclass());
        System.out.println("接口："+ Arrays.toString(c2.getInterfaces()));
    }
}
